package command

import java.io.File

/**
 * Created by yz on 5/8/2022
 */
case class CommandData(workspace: File, command: List[String])

object CommandData {

  def empty: CommandData = {
    val workspace: File = new File("")
    val commands: List[String] = List[String]()
    CommandData(workspace, commands)
  }

  def apply(workspace: File, command: String): CommandData = {
    new CommandData(workspace, List(command))
  }

}
